package com.mumu.muPictureBackend.model.dto.pictrue;

import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

@Data
public class UploadPictureRequest implements Serializable {

    public UploadPictureRequest(Long id) {
        this.id = id;
    }

    public UploadPictureRequest() {

    }

    @Serial
    private static final long serialVersionUID = -1332755891376819025L;
    /**
     * 主键ID
     */
    private Long id;

    /**
     * 图片的url(
     */
    private String fileUrl;


    /**
     * 空间id 可为null
     */
    private Long spaceId;

    /**
     * 缩略图图片URL地址
     */
    private String thumbnailUrl;



    /**
     * 支持图片自定义名称
     */
    private String fileName;

}
